package org.hlopik.riverGuide.client.model.dto;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 *
 * @author f
 */
public class RiverGuideDTO implements IsSerializable {

    private Long id;
    private String name = "";
    private String description = "";

    public RiverGuideDTO() {
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        if (description != null) {
            this.description = description;
        }
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        if (id != null) {
            this.id = id;
        }
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        if (name != null) {
            this.name = name;
        }
    }

    @Override
    public String toString() {
        return "RiverGuideDTO [" + name + "; " + description + "]";
    }
}
